export const tableOption = {
  border: true, //是否带有纵向边框
  selection: true, //行最前面的选择框
  menuAlign: "center",
  searchLabelWidth: 110, //搜索项标题宽度
  searchIndex: 4, //筛选收缩
  searchIcon: true,
  align: "center", //对齐方式
  emptyText: '自定义暂无数据提示语',
  column: [
    {
      label: "商户编码",
      prop: "merchantCode",
      hide: true,
      editDisabled: true,
      editDisplay: false,
      addDisplay: false,
    },
    {
      label: "商户名称",
      prop: "merchantName",
      type: "input",
      search: true,
      span: 12
    },
    {
      label: "商户手机号码",
      prop: "merchantPhone",
      type: "input",
      search: true,
      span: 12
    },
    {
      label: "收款机编号",
      prop: "commodityCashRegisterNumber",
      type: "input",
      search: true,
      span: 12
    },
    {
      label: "OS终端号",
      prop: "terminalPOSNumber",
      type: "input",
      span: 12
    },
    {
      label: "商品编码",
      prop: "productCode",
      type: "select",
      search: true,
      dicUrl: `/admin/mall/pointsProduct/select`,
      props: {
        label: 'name',
        value: 'id'
      },
      span: 12
    },
    {
      label: "商品名称",
      prop: "productName",
      type: "input",
      span: 12
    },
    {
      label: "商品条码",
      prop: "productBarcode",
      type: "input",
      span: 12
    },
  ]
}
